import { Component, OnInit } from '@angular/core';
import { fadeIn } from "../animate"
@Component({
  selector: 'other-root',
  templateUrl: './other.component.html',
  styleUrls: ['./other.component.css'],
  animations: [fadeIn]
})
export class otherComponent implements OnInit{
  myAppList = [
    {
      AppName: '作业墙',
      EnAppName: 'Working Wall',
      CoverUrl: '/assets/img/workwall.png',
      AppUrl: 'http://clienthomework.lessonplan.cn',
      Type: 0
    },
    {
      AppName: '花名册',
      EnAppName: 'Roster',
      CoverUrl: '/assets/img/cloudclass.png',
      AppUrl: 'http://clientroster.lessonplan.cn',
      Type: 0
    },
    {
      AppName: '微画布',
      EnAppName: 'Micro Canvas',
      CoverUrl: '/assets/img/canvas.png',
      AppUrl: 'http://clientcanvas.lessonplan.cn',
      Type: 1
    },
  ];

  userGuid: string = "";
  teamGuidList = "";

  ngOnInit() {
  }

  //跳转某个应用
  RouterappUrl(i) {
    var appUrl = this.myAppList[i].AppUrl;
    if (appUrl != '') window.open(appUrl);
  }
}
